CREATE TABLE [dbo].[tb_RelSubserviciosRegistroLiquidacion]
(
[idRegistro] [int] NOT NULL,
[idSubServicio] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_RelSubserviciosRegistroLiquidacion] WITH NOCHECK ADD CONSTRAINT [FK_tb_RelSubserviciosRegistroLiquidacion_tb_RegistroDeLiquidaciones] FOREIGN KEY ([idRegistro]) REFERENCES [dbo].[tb_RegistroDeLiquidaciones] ([idRegistroLiquidacion])
GO
ALTER TABLE [dbo].[tb_RelSubserviciosRegistroLiquidacion] WITH NOCHECK ADD CONSTRAINT [FK_tb_RelSubserviciosRegistroLiquidacion_tb_SubServiciosAgentes] FOREIGN KEY ([idSubServicio]) REFERENCES [dbo].[tb_SubserviciosAgentes] ([idSubServicio])
GO
GRANT SELECT ON  [dbo].[tb_RelSubserviciosRegistroLiquidacion] TO [Certificaciones]
GRANT SELECT ON  [dbo].[tb_RelSubserviciosRegistroLiquidacion] TO [CertificacionesAdministracion]
GO
